﻿@model WarOfDev.EF.Task

@{
    ViewBag.Title = "Details";
}

<h2>Task Details</h2>
    <table>
        <tr>
            <th> @Html.DisplayNameFor(model => model.Title)</th>
            <td>@Html.DisplayFor(model => model.Title)</td>
        </tr>i
        <tr>
            <th>@Html.DisplayNameFor(model => model.Description)</th>
            <td class="content"> @Html.DisplayFor(model => model.Description)</td>
        </tr>
        <tr>
            <th>@Html.DisplayNameFor(model => model.ExperienceValue)</th>
            <td>@Html.DisplayFor(model => model.ExperienceValue)</td>
        </tr>
        <tr>
            <th> @Html.DisplayNameFor(model => model.Status)</th>
            <td>@((WarOfDev.Core.Common.EnumTaskStatus)Model.Status)</td>
        </tr>
       
        <tr>
            <th>@Html.DisplayNameFor(model => model.CreatedOn)</th>
            <td>@Model.CreatedOn.ToString("yyyy-MM-dd hh:mm:ss")</td>
        </tr>
    </table>

<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
